// 定义学生结构体
struct Student {
    int id;
    char name[50];
    int selected_courses[10];
    int total_credits;
};

// 函数声明
void loadStudentsFromFile(struct Student students[], int *num_students, struct Course courses[], int num_courses);
void saveStudentsToFile(struct Student students[], int num_students);
void addStudent(struct Student students[], int *num_students, struct Course courses[], int *num_courses);
void viewStudentDetails(struct Student students[], int num_students, int student_id);
void modifyStudent(struct Student students[], int num_students, int student_id, struct Course courses[], int num_courses);
void deleteStudent(struct Student students[], int *num_students, int student_id, struct Course courses[], int *num_courses);
